<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>hello world!</h2>
<c:choose>
	<c:when test="${sessionScope.cinemaId == null }">
		<a  href="clogin.jsp">登录</a>
	</c:when>
	<c:otherwise>
		<a  href="/clogoff">注销</a>
	</c:otherwise>
</c:choose>
</body>
</html>